
import axios from 'axios'
export const request = axios.create({
  baseURL: 'http://localhost:8080/',
  // baseURL: '/',//跟springboot项目打包到一起，需设置为"/"
  // baseURL: 'http://zhky.winvision.cn/',
  timeout: 5000
})
export const requestTQ = axios.create({
  baseURL: 'https://devapi.qweather.com/v7/',
  timeout: 10000
})
export const requestHFCity = axios.create({
  baseURL: 'https://geoapi.qweather.com/v2/',
  timeout: 10000
})
export const requestceshi = axios.create({
  // baseURL: 'http://localhost:8000/',
  baseURL: 'http://192.168.2.18:8080/',
  timeout: 5000
})
